package com.zhanglu.fun.services.chatroom;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @description
 * @Auther zhanglu
 * @Date 2017/10/18 下午4:42
 */
@SpringBootApplication
//@EnableEurekaClient // 启动EnableEureka客户端
@EnableFeignClients // (basePackages = { "com.zhanglu.fun.feignclient" })
@EnableScheduling
public class Boot {
    public static void main(String[] args) throws Exception {
        SpringApplication.run(Boot.class, args);
    }
}
